<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <img src="img/img.jpg" />
    <img src="img.jpg" />
    <img src="../img.jpg" alt="别猜了上一级没图片" />
    <img src="D:\web\day01\img\img.jpg" / alt="这个是绝对路径，不一定好使" title="这个是绝对路径，不一定好使">
    <img src="http://www.itcast.cn/2018czgw/images/logo.png" />
</body>
</html>